body,html{
  height: 100%;
  #app{
    height: 100%;

  }
}
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,input {
  // font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: "Microsoft YaHei","微软雅黑","Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB",Arial,sans-serif !important;
  // font-family: Arial,'Hiragino Sans GB','微软雅黑','黑体-简',Helvetica,sans-serif;
}

// 滚动条显示
//.table-drag-cloumn-panel{
//  display: block !important;
//}

a{
  //color:#409eff;
  color:#3ea8f5;
  cursor: pointer;
}
.nb-shadow{
  box-shadow: 0px 0px 14px 0 #cecdcd;
}
.nb-wrapper{
  height: 100%;
  //background: red;
  overflow: hidden;
  position: relative;
}
// el-form 样式
.el-form-item.is-overflow-ellipsis .el-form-item__content{
  position: inherit;
  left: 0;
  z-index: 1;
  width: auto;
  padding-left: 0;
  overflow: visible;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.el-form-item__content{
  // line-height: inherit;
}
.el-form-item__label{
  display: inline-block;
  // text-align: left;
  // float: inherit;
  position: relative;
}
.el-input__inner{
  padding: 0 10px;
  color: #333333;
  border: 1px solid #f1f1f1;
}
.el-input-group__append, .el-input-group__prepend{
  // border:none;
}
.form-center-wrapper{
  width: 540px;
  margin: 0 auto;
  .inline-item-none{
    width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
  }
  .inline-item:nth-child(n) {
    padding-right: 0px !important;
  }
  .inline-item:nth-child(2n) {
    padding-left: 0px !important;
  }
}
.form-flex-wrapper{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  .inline-item-none{
    width: 100%;
    flex: 0 0 100%;
  }
  .inline-item{
    width: 50%;
    flex: 0 0 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .inline-item:nth-child(n) {
    padding-right: 10px;
  }
  .inline-item:nth-child(2n) {
    padding-left: 10px;
  }
  .self-footer{
    width: 100%;
  }
}
.el-checkbox__inner{
  border: 1px solid #d8dce5;
}

.el-form-item.is-required .el-form-item__label:before{
  content: '';
}
// .el-form-item.is-required .el-form-item__label:after{
//   content: '*';
//   color: #fa5555;
//   margin-left: 4px;
//   position: relative;
//   top: 3px;
// }
.el-radio, .el-checkbox{
  font-weight: 400 !important;
}
.nb-form-item-wrapper{
  .el-checkbox__input.is-focus .el-checkbox__inner{
    border-color: #d8dce5 !important;
  }
}
// tabs 样式
// tabs 下边框修改默认值为1px
.el-tabs__nav-wrap::after{
  height: 1px;
}
.el-tabs__nav-wrap{
  padding: 0 20px 0 0;
}
.el-tabs__header{
  margin: 0;
}
.el-tabs__item{
  height: 60px;
  line-height: 60px;
  font-size: 15px;
  color: #333;
  font-weight: inherit;
  position: relative;
}
.el-tabs__item.is-active{
  color: #333;
}
.el-tabs__item:after{
  content: '';
  border-right: 1px solid #f2f2f2;
  height: 16px;
  position: absolute;
  right: 0px;
  top: 50%;
  margin-top: -8px;
  width:1px;
}
.el-tabs__item:last-child:after{
  display:none;
}
.none-tabs{
  .el-tabs__header{
    .el-tabs__nav-wrap{
      .el-tabs__nav-scroll{
        .el-tabs__nav{
          .el-tabs__active-bar{
            display: none;
          }
        }
      }
    }
  }
}
.el-tabs__active-bar{
  background: transparent;
}
.el-tabs__active-bar:after{
  position: absolute;
  content: '';
  width: 20px;
  height: 2px;
  top: -1px;
  left: 50%;
  margin-left: -10px;
  background: #1F8EFA;
}

.el-tabs--bottom:not(.el-tabs--border-card):not(.el-tabs--card) .el-tabs__item:nth-child(2), .el-tabs--top:not(.el-tabs--border-card):not(.el-tabs--card) .el-tabs__item:nth-child(2){
  padding-left: 20px !important;
}
.bar-tabs-wrapper{
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  padding-right: 20px;
  display: flex;
  align-items: center;
  .el-button{
    margin-left: 15px;
  }
}


// dialog 样式
.el-dialog__wrapper .el-dialog__header{
  border-bottom: 1px solid #eee;
  padding: 13px 20px 12px !important;
  background-color: #fff;
  .el-dialog__title{
    font-size: 16px;
    color: #333 !important;
    font-weight: 300;
  }
  .el-dialog__headerbtn{
    top: 17px;
    .el-dialog__close{
      color: #666;
    }
  }
}
.el-dialog__wrapper .el-dialog__footer{
  padding: 15px 15px 15px ;
  border-top: 1px solid #eee;
}

// tree的全局样式
.el-tree-node__content>.el-tree-node__expand-icon{
  margin: 0 6px;
}
.el-tree-node__expand-icon{
  border: 6.5px solid transparent;
  border-right-width: 0;
  // border-left-color: #b4bccc;
  border-left-width: 8px;
}


// element data picker
.el-date-picker{
  z-index: 30000 !important;
}


// badge 全局样式
.el-badge__content{
  transform: scale(0.65);
  padding: 1px 10px;
  border-radius: 15px;
  background:#1889fa;
}

// table 全局样式

.el-table__fixed-header-wrapper tr th,.el-table__header-wrapper tr th{
  background: #f9f9f9 ;
  //padding: 18px 0;
  padding: 0;
  height: 50px;
  font-weight: 400;
  font-size: 14px !important;
  color: #999;
}
//.el-table .cell, .el-table th div{
//  padding: 0 10px 0 20px;
//}
.el-table--border, .el-table--group{
  border-right: none;
  border-left: none;
}
.el-table--border td:first-child .cell, .el-table--border th:first-child .cell{
  padding:0 20px;
}
.el-table td, .el-table th{
  padding: 0 0;
  height: 60px;
  font-size: 14px !important;
  color: #666;
}
.el-table__fixed, .el-table__fixed-right{
  box-shadow: none !important;
}
.el-table__fixed-right{
  //border-left: 1px solid #e6ebf5;
}
.el-table__fixed-right{
  .cell{
    padding: 0 0px !important;
  }
}
.el-table__fixed{
  border-right: none !important;
  left: 1px;
}


.el-table__fixed-right,.el-table__fixed{
  .el-table__fixed-body-wrapper, .el-table__fixed-header-wrapper{
    table{
      tbody{
        tr{
          td{
            //border: 1px solid #e6ebf5;
            position: relative;
          }
          td:last-child:after{
            content: '';
            position: absolute;
            left: -1px;
            top: 0;
            height: 100%;
            border: 1px solid #e6ebf5;
            transform: scaleX(0.7);
            z-index: 99999;
          }
          td:first-child{
            //border-left: 2px solid red;
          }
          td:first-child:before{
            content: '';
            position: absolute;
            right: -1px;
            top: 0;
            height: 100%;
            border: 1px solid #e6ebf5;
            //border: 1px solid red;
            transform: scaleX(0.7);
            z-index: 99999;
          }
        }
      }
    }
  }
}

.el-table__fixed-right,.el-table__fixed{
  .el-table__fixed-header-wrapper{
    table{
      thead{
        tr{
          th{
            //border: 1px solid #e6ebf5;
            position: relative;
          }
          th:last-child:after{
            content: '';
            position: absolute;
            left: -1px;
            top: 0;
            height: 100%;
            border: 1px solid #e6ebf5;
            transform: scaleX(0.7);
            z-index: 99999;
          }
          th:first-child:before{
            content: '';
            position: absolute;
            right: -1px;
            top: 0;
            height: 100%;
            border: 1px solid #e6ebf5;
            transform: scaleX(0.7);
            z-index: 99999;
          }
        }
      }
    }
  }
}
.el-table__body-wrapper{
  table{
    tbody{
      tr{
        td:first-child{
          //border-right:none;
        }
        td:last-child{
          border-left:none;
        }
      }
    }
  }
}
.el-table__header-wrapper{
  table{
    thead{
      tr{
        th:first-child{
          //border-right:none;
        }
        th:last-child{
          border-left:none;
        }
      }
    }
  }
}

.el-table__fixed{
  border-right: 1px solid #e6ebf5;
}
.el-table__body tr.hover-row>td{
  background: #f5f5f5;
}



//
.el-button--text{
  color: #1F8EFA;
  font-weight: 300;
}


// message
.el-message{
  z-index: 3333!important;
}


//
.p-l-r-10{
  padding: 0 10px;
}
.p-20{
  padding: 20px;
}
.p-10{
  padding: 10px;
}
.p-t-20{
  padding-top: 20px;
}
.p-t-10{
  padding-top: 10px;
}
.p-b-20{
  padding-bottom: 20px;
}
.p-b-10{
  padding-bottom: 10px;
}
.p-r-20{
  padding-right: 20px;
}
.p-r-10{
  padding-right: 10px;
}
.p-l-20{
  padding-left: 20px;
}
.p-l-10{
  padding-left: 10px;
}
//
.m-20{
  margin: 20px;
}
.m-10{
  margin: 10px;
}
.m-t-20{
  margin-top: 20px;
}
.m-t-10{
  margin-top: 10px;
}
.m-b-20{
  margin-bottom: 20px;
}
.m-b-10{
  margin-bottom: 10px;
}
.m-r-20{
  margin-right: 20px;
}
.m-r-10{
  margin-right: 10px;
}
.m-l-20{
  margin-left: 20px;
}
.m-l-10{
  margin-left: 10px;
}

.self-footer{
  text-align: right;
}

.after-border{
  position: relative;
}
.after-border:after{
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 80%;
  background: #dedede;
  margin-top: 5%;
}
.flex-wrapper{
  display: flex;
}


.performance-wrapper{
  padding-bottom: 20px;
  border-bottom: 1px solid #f3f3f4;
  margin-bottom: 20px;
  .per-title{
    font-size: 18px;
    color: rgb(52, 151, 255);
    padding: 10px 0;
  }
  .per-label{
    font-size: 12px;
    color: #666;
  }
  div:last-child{
    padding-bottom: 0;
  }
}
.performance-wrapper:last-child{
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.auth-tag{
  display: inline-block;
  margin-left: 7px;
  padding: 2px 5px;
  text-align: center;
  color: #1889fa;
  font-size: 12px;
  border: 1px solid #1889fa;
  border-radius: 10px;
  position: relative;
  top: -2px;
}
.span-tips{
  font-size: 12px;
  color: #999;
  position: relative;
  top: -10px;
}

.modify-scope{
  margin: 0 0 20px !important;
}
.el-dialog__body{
  .el-form-item__content{
    .label-wrapper{
      .el-icon-tips{
        top: 5px !important;
      }
    }
  }
}
.nb-scroll-dialog::-webkit-scrollbar-track {
  background-color: #F5F5F5;
  //background-color: red;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
}
/*定义滚动条高宽及背景*/
.nb-scroll-dialog::-webkit-scrollbar {
  width: 8px;
  background-color: rgba(0, 0, 0, 0.3);
}
/*定义滚动条*/
.nb-scroll-dialog::-webkit-scrollbar-thumb {
  background-color: #8b8b8b;
  border-radius: 8px;
}
/*修改覆盖插件公共样式*/
.el-button--primary {
  background-color: #1868b3;
  border-color: #1868b3;
}
.el-button--primary:hover{background:#1868b3;border-color:#1868b3;color:#FFF}
.el-button--primary.is-active, .el-button--primary:active{background:#1868b3;border-color:#1868b3;color:#FFF}
.el-button--primary.is-disabled,.el-button--primary.is-disabled:active,.el-button--primary.is-disabled:focus,.el-button--primary.is-disabled:hover {
	color: #FFF;
	background-color: #1868b3;
	border-color: #1868b3
}

.el-button--primary.is-plain {
	color: #409EFF;
	background: #1868b3;
	border-color: #1868b3
}

.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover {
	background: #1868b3;
	border-color: #1868b3;
	color: #FFF
}
.el-button--primary.is-plain:active {
	background: #1868b3;
	border-color: #1868b3;
	color: #FFF;
	outline: 0
}
.el-button--info{
  background-color: #d1d9e0;
  border-color: #d1d9e0;
}
.el-input.is-active .el-input__inner,.el-input__inner:focus {
	outline: 0;
	border-color: #1868b3;
}
.el-select .el-input.is-focus .el-input__inner {
	border-color: #1868b3
}
// .el-select-dropdown.is-multiple .el-select-dropdown__item.selected {
// 	// color: #409EFF;
// 	background-color: #5cacea
// }
// .el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover {
// 	background-color: #5cacea
// }
// .el-select-dropdown__item.hover, .el-select-dropdown__item:hover{
//   background-color: #5cacea
// }